import { createStore } from "openinula";

export const applicationStore = createStore(
  {
    id: 'application',
    state: {
      name: 'devops',
      age: 18,
      count: 20
    },
    actions: {
      plusOne(state) {
        state.count += 1;
      },
      plusValue(state, value) {
        state.count += value;
      },
    },
  },
);
